package com.lanxiao.cloud.modules.oauth.domain.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lanxiao.cloud.common.core.enums.DelFlagEnum;
import com.lanxiao.cloud.common.core.enums.StateEnum;
import com.lanxiao.cloud.common.mybatis.basic.BaseEntity;

/**
 * @author ：qiaoliang
 * @date ：2021-08-24
 */
@TableName(value = "sys_role",autoResultMap = true)
public class Role extends BaseEntity<Long,Long> {

  /**名称**/
  private String name;
  /**标识**/
  private String mark;
  /**排序**/
  private int sort;
  /**状态**/
  private StateEnum state;

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getMark() {
    return mark;
  }

  public void setMark(String mark) {
    this.mark = mark;
  }

  public int getSort() {
    return sort;
  }

  public void setSort(int sort) {
    this.sort = sort;
  }

  public StateEnum getState() {
    return state;
  }

  public void setState(StateEnum state) {
    this.state = state;
  }
}
